package com.kukudb.asaproject.serveice.interfaceTemp;

import com.kukudb.asaproject.pojo.ToEmail;
import jakarta.mail.MessagingException;

public interface EmailServericeInterface {
    /**
     * 发送普通邮件
     *
     * @param toEmail
     * @return
     */
    boolean commonEmail(ToEmail toEmail);


    /***
     * HTML邮件发送
     * @param toEmail
     */
    boolean htmlEmail(ToEmail toEmail) throws MessagingException;
}
